# Contributor: dai9ah <dai9ah@protonmail.com>
# Maintainer: dai9ah <dai9ah@protonmail.com>
pkgname=nicotine-plus
pkgver=2.0.1
pkgrel=0
pkgdesc="Graphical client for the SoulSeek peer-to-peer system"
url="http://nicotine-plus.org"
arch="noarch"
license="GPL-3.0-or-later"
depends="gtk+3.0 py3-gobject3 py3-miniupnpc py3-mutagen python3"
subpackages="$pkgname-doc $pkgname-lang"
source="nicotine-plus-$pkgver.tar.gz::https://github.com/Nicotine-Plus/nicotine-plus/archive/$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0a16c0c289a4f4d54eba773ad40952baadf73333ea4a6b4a4524cc500d007f6de0bdd7a847e3f68978a3247c9bc4a6eab3b77db34605fda79da34c352e89a1b9  nicotine-plus-2.0.1.tar.gz"
